import { generateService } from '@umijs/openapi'
generateService({
  requestLibPath: "import request from '@/request'", // 自定义请求库路径
  schemaPath: 'http://localhost:8101/api/v2/api-docs', // Swagger 文档地址
  serversPath: './src/service', // 生成代码存放路径
})
